﻿using System;
using Csla;
using BizControl.Library.BusinessObjects.Activities;

namespace BizControl.Library.Criterias
{
  [Serializable()]
  public class ActivityAndBoolCriteria : CriteriaBase<ActivityAndBoolCriteria>
  {
    private bool _bool;
    public bool Bool
    {
      get { return _bool; }
    }

    private ActivityBO _activity;
    public ActivityBO Activity
    {
      get { return _activity; }
    }

    public ActivityAndBoolCriteria(ActivityBO activity, bool Bool = false)
    {
      _activity = activity;
      _bool = Bool;
    }
  }

}
